/*
 * File:    Get.java
 * Created: 06-Feb-2009
 * Version: $Id$
 *
 * COPYRIGHT (C) 2009, Bitgate Mobile, LLC.  All Rights Reserved.
 *
 * software@bitgatemobile.com
 */

package com.webplasm.render.tags.internal;

import org.w3c.dom.Node;

import com.webplasm.context.RenderContext;
import com.webplasm.render.engine.RenderException;
import com.webplasm.render.tags.WrappedNode;

/**
 * This is a wrapper for a body of text in a document, whether it is wrapped with a &lt;![CDATA[ ]]&gt; element, or
 * classified as a &quot;#text&quot; node.
 * 
 * @author kenji
 * @since Webplasm 1.0
 */
public class Text extends WrappedNode {
	public Text(Node n) {
		super(n);
	}
	
	@Override
	public StringBuffer render(RenderContext rContext) throws RenderException {
		return data;
	}
}